def calc(start,end):
    sum = 0
    for i in range(start,end+1):
        sum += i
    return sum # 使用return关键字，返回函数执行后的结果

result = calc(20, 70)
print(result / 2)
print(result * 3 + 1)
